Skip to main content

mediaFoundationMediaTypeGetAttribute

Type

function

Summary

Get an attribute of a media type Platform:desktop

Syntax

mediaFoundationMediaTypeGetAttribute(<pMediaTypeID>, <pAttribute>)

Description

The media must already be created with mediaFoundationCreateMediaType or via another API that returns a media type ID. See the attribute description in the mediaFoundationMediaTypeSetAttribute API document.

*Note

*:See the mediaFoundationTranscode documentation for a complete example of using this handler.

Parameters

NameTypeDescription

pMediaTypeID

integer

A media type ID

pAttribute

string

The name of the attribute

command: mediaFoundationTranscode, mediaFoundationCreateMediaType

Compatibility and Support

OS

windows

Thank you for your feedback!

Was this page helpful?